package com.ruoyi.service;

import com.ruoyi.domain.CategoryOne;

import java.util.List;
import java.util.Map;

/**
 *
 */
public interface ICategoryOneService {

    List<CategoryOne> selectAll();

    CategoryOne selectById(Long id);

    int insertOne(CategoryOne categoryOne);

    int updateById(CategoryOne categoryOne);

    int deleteByIds(Long[] ids);

    List<CategoryOne> selectPage(CategoryOne categoryOne);

    List<Map<String, Object>> selectListCascater();
}
